package net.easyjava.third.letv.bean;

import com.alibaba.fastjson.annotation.JSONField;
import net.easyjava.tools.BaseBean;

/**
 * 上传视频返回的中间件
 * Created by wxnacy on 16/6/28.
 */
public class LetvUploadData extends BaseBean {
    private static final long serialVersionUID = 9148112091875738341L;
    @JSONField(name = "video_id")
    private String videoId;//视频ID
    @JSONField(name = "video_unique")
    private String videoUnique;//视频唯一标识码
    @JSONField(name = "upload_url")
    private String uploadUrl;//上传地址
    @JSONField(name = "progress_url")
    private String progressUrl;//查询上传进度的地址
    private String token;//视频上传标识，用于断点续传和上传进度查询
    @JSONField(name = "uploadtype")
    private int uploadType;//是否分片上传，0不分片，1分片 。如用js编写上传功能须使用分片模式。

    public LetvUploadData() {
    }

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getVideoUnique() {
        return videoUnique;
    }

    public void setVideoUnique(String videoUnique) {
        this.videoUnique = videoUnique;
    }

    public String getUploadUrl() {
        return uploadUrl;
    }

    public void setUploadUrl(String uploadUrl) {
        this.uploadUrl = uploadUrl;
    }

    public String getProgressUrl() {
        return progressUrl;
    }

    public void setProgressUrl(String progressUrl) {
        this.progressUrl = progressUrl;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getUploadType() {
        return uploadType;
    }

    public void setUploadType(int uploadType) {
        this.uploadType = uploadType;
    }
}
